<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
</head>
<body>
        <a href="#" class="dropdown-toggle pr-0" data-toggle="dropdown" aria-expanded="false">
            <img alt="user_auth" class="user-auth-img img-circle"/>
            <span class="user-online-status"></span>
        </a>
        <ul class="dropdown-menu user-auth-dropdown" data-dropdown-in="flipInX" data-dropdown-out="flipOutX">
            <li onclick="showChange()"><a href="#"><i class="zmdi zmdi-account"></i><span>修改密码</span></a> </li>
            <li class="divider"></li>
            <li onclick="logout();"> <a href="#"><i class="zmdi zmdi-power"></i><span>注销</span></a> </li>
        </ul>
</body>
<script>
    var data=eval('(' + $(sessionStorage)[0].user +')');
    $(".img-circle").attr('src',data.photo);
</script>
<span th:include="frame/fm/res :: init"></span>
</html>